All Questions
11 questions
0votes
2answers
180views
Ajax Call not Working in Plugin
I've been developing a website using WP and to display some database information in the front-end of the site i've created a plugin. Right now i want to include a filtering function for that same ...
5votes
1answer
7kviews
Jquery in Child Theme
I am new to Wordpress and I need help with integrating my own jquery into a child theme. I have this jquery tooltip which works but I want to include it into my wordpress child theme. Have a look ...
0votes
1answer
546views
Load CSS files in header of Bones theme?
I'm using the Bones theme, and I'm trying to turn jQuery plugins into WordPress plugins. In the init.php file for the 'Chosen' plugin I'm converting, I've included this code: function chosen(){ ...
0votes
1answer
3kviews
Why a SlideShow (made using JQuery FlexSlider) can't work if I load it form functions.php but work if I load it from my footer.php file? [closed]
I have the following situation: I am carrying this pure HTML theme (that use BootStrap CSS framework) into a WordPress theme. This is the original pure HTML demo theme (I have the entire source code ...
1vote
1answer
6kviews
How to correctly add JQuery in a WP theme?
I am pretty new in WordPress and I have the following doubt: I have to include JQuery into a theme and I am doing in this way: I create the following function into functions.php theme file and I add ...
-1votes
1answer
165views
Javascript as Jquery Function Call?
Refer to Nice scroll to wordpress wordpress runs jquery in noconflicts mode which means that you either need to write your JS code using the jQuery function call var seq = 0; $(document).ready(...
0votes
2answers
861views
Check javascript file Proper way in functions.php
I am trying to convert html to wordpress. The code in the html was: <script src="js/jquery.nicescroll.min.js"></script> <script src="js/jquery.js"></script> ( jQuery v1.7.2 ) ...
0votes
2answers
924views
Nice scroll to wordpress
I am converting html5 to wordpress Theme. I want to use custom scroll for wordpress. The code DEPENDENCIES It's a plugin for the jquery framework, you need to include jquery in your scripts. I will ...
0votes
1answer
2kviews
Using JQuery to check for Rel Attribute of Image before Overriding It
My Wordpress theme (when enabled) overrides the rel value of the link of all images with rel="lightbox" using the following code: http://pastebin.com/Bsh739QY How can I edit the JQuery to check for ...
0votes
1answer
881views
Getting a 'slide down' js panel implemented within WP
I'm trying to implement a very simple vertical slide down panel in Wordpress, I've tried jbar (http://tympanus.net/codrops/2009/10/29/jbar-a-jquery-notification-plugin/) and an easy JS method I found ...
1vote
1answer
466views
Question about the way that wp_register_script works
Ok so I'm using the Roots Theme for WordPress (https://github.com/retlehs/roots), which, is sort of a starter theme or theme framework. I'm confused about the way that it deregisters the WordPress ...